func golang.org/x/mod/semver.parseInt
4 uses
golang.org/x/mod/semver (current package)
semver.go#L176: p.major, v, ok = parseInt(v[1:])
semver.go#L190: p.minor, v, ok = parseInt(v[1:])
semver.go#L203: p.patch, v, ok = parseInt(v[1:])
semver.go#L227: func parseInt(v string) (t, rest string, ok bool) {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)